package org.shreker.shan.rbac.domain;

import org.shreker.shan.base.domain.BaseBean;
import lombok.Getter;
import lombok.Setter;

/**
 * 权限
 */
@Getter
@Setter
public class Permission extends BaseBean {

	/**
	 * 权限名称
	 */
	private String name;
	/**
	 * 权限描述码: 控制器类的全名称-方法名称
	 */
	private String code;

	@Override
	public String toString() {
		return "Permission [name=" + name + ", code=" + code + "]";
	}

}
